<!DOCTYPE html>
<html lang="zh" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>Please Log In</title>
</head>
<body>
<h1>Please Log In 我是自定义的登录页，请注意不要认为我是默认的</h1>
<div th:if="${param.error}">
    Invalid username and password.
</div>
<div th:if="${param.logout}">
    You have been logged out.
</div>
<form method="post" th:action="@{/web/loginProcessingUrl}">
    <div>
        <input name="username" placeholder="Username" type="text"/>
    </div>
    <div>
        <input name="password" placeholder="Password" type="password"/>
    </div>
    <input
            type="hidden"
            id="csrf_token"
            th:name="${_csrf.parameterName}"
            th:value="${_csrf.token}"
    />
    <input
            type="checkbox"
            class="form-check-input"
            id="remember-me"
            name="remember-me"
    />
    <label class="form-check-label" for="remember-me" th:text="记住我">Remember Me:</label>
    <input type="submit" value="Log in"/>
</form>
</body>
</html>